package com.yuexunit.finance.system.entity.lexicon;

/**
 * @author wenwenlong
 */
public enum FinancingChannelEnum {

	UNKONWN("未知"), TRUST("信托"), OWN("自有"), BANK("银行"), PRIVATE("民间资本"), OTHER("其他");

	private final String paramType;

	private FinancingChannelEnum(String paramType) {
		this.paramType = paramType;
	}

	public String getValue() {
		return paramType;
	}

	/**
	 * 数字转为枚举类型
	 * @param value 1:信托/2:自有/3:银行/4民间资本/5:其他
	 * @return 参数类型枚举
	 */
	public static FinancingChannelEnum valueOf(Integer value) {
		return values()[value.intValue()];
	}
}
